package com.example.data.factory.common.Dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class UpdateDataAssetInfoDto {
    @ApiModelProperty("数据库id，唯一标识，递增")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("中文名称")
    private String chineseName;

    @ApiModelProperty("英文名称")
    private String englishName;

    @ApiModelProperty("数据资产表描述")
    private String description;

    @ApiModelProperty("分类id")
    private Integer classifyId;

    @ApiModelProperty(value = "码表说明", required = true)
    private List<UpdateDataAssetFieldDto> updateDataAssetFieldDtos;
}
